#ifndef HAND_H_
#define HAND_H_

#include "interface.h"

using namespace std;

class HandAnalyser
{
public:
	HandAnalyser(void);
	HandAnalyser(const HandAnalyser &h);
	HandAnalyser& operator =(const HandAnalyser &h);
	~HandAnalyser(void);

	int getHandDirection();
	int getHandPointNum();
	int loadHandPoint(const XnVHandPointContext *php);

	void printHandPoint();

	void releaseFirstHandPoint();

	void WritetoTestSet();
	void WritetoTrainingSet();

private:
	list<const XnVHandPointContext> m_pHandPointList;
public:
	static const int m_frameNum = 5;
};

#endif HAND_H_